home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 3 / Cream of the Crop 3.iso / comm / 0141ter2.zip / 0141TER2._XE / MANUAL.EXE / COMMUNIC.HLP < prev    next >
Text File  |  1994-01-19  |  16KB  |  316 lines

  1.  
  2.  ^m╒══════════════════════╤═══════════════════════════╡^t Communications setup ^m╞╕
  3.  │ ^nDevice name          ^m│ ^nDevice       Port  Baud  Com  Address  Irq Vector ^m│
  4.  ├──────────────────────┼───────────────────────────────────────────────────┤
  5.  │^r Async Modem COM1     ^m│ ^h8250A/16450    1  19200  8N1  $03F8    04    0C   ^m│
  6.  │^b■^hAsync Modem COM2     ^m│ ^h16550A FIFO    2  19200  8N1  $02F8    03    0B   ^m│
  7.  │ ^hAsync Modem COM3     ^m│ ^hNo UART        3  19200  8N1  $03E8    04    0C   ^m│
  8.  │ ^hAsync Modem COM4     ^m│ ^hNo UART        4  19200  8N1  $02E8    03    0B   ^m│
  9.  │ ^hInterrupt 14h        ^m│ ^hInterrupt 14h  1   9600  8N1                      ^m│
  10.  │ ^hISDN                 ^m│ ^hFossil         1  64000  8N1                      ^m│
  11.  │ ^hFossil               ^m│ ^hFossil         1  38400  8N1                      ^m│
  12.  │ ^h                     ^m│ ^h                                                  ^m│
  13.  │ ^h                     ^m│ ^h                                                  ^m│
  14.  │ ^h                     ^m│ ^h                                                  ^m│
  15.  ├──────────────────────┼───────────────────────────────────────────────────┤
  16.  │ ^nConfigure comports   ^m│               ^nAsync Professional                  ^m│
  17.  │ ^nCheck IRQ            ^m│               ^n■ = Default device                  ^m│
  18.  │ ^nSet default values   ^m│                                                   ^m│
  19.  ╘══════════════════════╧═══════════════════════════════════════════════════╛^n
  20.  
  21.  Since setting up the serial port is one of the most important things in any
  22.  terminal program, you must remember the following rules:
  23.  
  24.    Maximum bps rates:
  25.  
  26.    4.77 Mhz PC (8088)      9600 bps
  27.       8 Mhz PC (8088)     19200 bps
  28.       8 Mhz PC (286)      57600 bps
  29.      16 Mhz PC (386)     115200 bps
  30.  
  31.  You need 16550A serial UART chips if you want to have error free connections
  32.  when using: an 8 Mhz PC (8088); any kind of multitasker - eg: OS/2, Windows,
  33.  DESQview, etc; a modem connected to a network drive. It does not matter how
  34.  fast your machine is, my 486DX2-66 still gives me errors when there is no
  35.  FIFO buffer in the machine.
  36.  The 16550A UART chip gives you a small 16 byte FIFO buffer - which means the
  37.  chip does not have to generate an interrupt every time a character arrives.
  38.  Most PC's are delivered with the old 8250 or 16450 chips (almost the same),
  39.  so if you get CRC errors, you should buy such a card. (Ask us or one of our
  40.  Registration Sites where to obtain them.) All good internal high speed
  41.  modems already have a 16550A UART implemented. When buying an internal modem
  42.  make sure it has one!
  43.  
  44.  ^hDevice setup^n
  45.  
  46.  ^m╒════════════════════════════════════╤═════════════════════╡^t Device setup ^m╞╕
  47.  │^r Serial interface                   ^m│ ^hUART/Serial                         ^m│
  48.  │ ^nComport                            ^m│ ^h1                                   ^m│
  49.  │ ^nDevice name                        ^m│ ^hAsync Modem COM1                    ^m│
  50.  │ ^nBaudrate                           ^m│ ^h19200                               ^m│
  51.  │ ^nLock port                          ^m│ ^hYes                                 ^m│
  52.  │ ^nDatabits / Stopbits /Parity        ^m│ ^h8,1,N                               ^m│
  53.  │ ^nPhonebook                          ^m│ ^hTERMINAT^n.FON                        ^m│
  54.  │ ^nCostfile                           ^m│ ^hTERMINAT.CST                        ^m│
  55.  │ ^nReceive buffer size                ^m│ ^h2048                                ^m│
  56.  │ ^nTransmit buffer size               ^m│ ^h4096                                ^m│
  57.  │ ^nSoftware flow control (Xon/Xoff)   ^m│ ^hOff                                 ^m│
  58.  │ ^nHardware flow control (CTS/RTS)    ^m│ ^hOn                                  ^m│
  59.  │ ^nHardware flow control (DSR/DTR)    ^m│ ^hOff                                 ^m│
  60.  │ ^nUse 16550 fifo if available        ^m│ ^h14                                  ^m│
  61.  │ ^nKeep 16550 fifo on in shell        ^m│ ^hNo                                  ^m│
  62.  │ ^nRTS low while writing              ^m│ ^hNo                                  ^m│
  63.  │ ^nAuto RTS low trigger               ^m│ ^h2                                   ^m│
  64.  │ ^nCarrier detect mask                ^m│ ^h128                                 ^m│
  65.  │ ^nInit string                        ^m│ ^hATZ^M                               ^m│
  66.  │ ^nRestore port on close              ^m│ ^hNo                                  ^m│
  67.  │ ^nClose port in shell                ^m│ ^hNo                                  ^m│
  68.  ╘════════════════════════════════════╧═════════════════════════════════════╛^n
  69.  
  70.  ^hSerial interface^n
  71.  
  72.   Terminate supports 4 different interfaces.
  73.  
  74.     ^hUART/Serial         ^nDirect serial chips
  75.     ^hInterrupt 14h       ^nVia BIOS int 14h max 9600 baud
  76.     ^hFossil              ^nResident serial devices, like X00/BNU
  77.                         or ISDN fossil devices.
  78.     ^hDigiboard           ^nVery fast intelligent multiport adapter.
  79.  
  80.  ^hComport^n
  81.  
  82.   Select which port to assign for this device, COM1..COM8 can be selected.
  83.  
  84.  ^hDevice name^n
  85.  
  86.   Enter the string to be shown everywhere the device is shown. You should
  87.   enter your modem name here, 'Spirit II 19200 8N1' or whatever you have.
  88.  
  89.  ^hBaudrate^n
  90.  
  91.   Which baudrate to use for this device as default.
  92.  
  93.  ^hLock port^n
  94.  
  95.   When using a high speed modem (bps>=9600) you should always choose to lock
  96.   the port.
  97.  
  98.  ^hDatabits^n
  99.  
  100.   A data byte can contain 5,6,7 or 8 bits. The vast majority of applications
  101.   will use either 7 or 8 bits since most of the data we are used to dealing
  102.   with is expressed in 8-bit bytes (although text data can often be expressed
  103.   in only 7-bits).
  104.   Many time-sharing systems, such as Compu$erve, work with only 7 data bits
  105.   because that's all they need to display text data. When transfering binary
  106.   data though, for example with a file transfer protocol, you usually switch
  107.   to 8 data bits. 
  108.   If you use 8N1 and 7E1 on different systems, you must define 2 different
  109.   devices and select the correct device in the phonebook.
  110.   Create 2 devices which looks the same. They could be called:
  111.   Device 1:^hMODEM COM2 2400 8N1^n  Device 2:^hMODEM COM2 2400 7E1^n
  112.  
  113.  ^hStopbits^n
  114.  
  115.   Stop bits follow the data bits in the serial stream. The value for stop
  116.   bits will always be either 1 or 2. Generally, 1 stop bit is used.
  117.  
  118.  ^hParity^n
  119.  
  120.   Parity describes a bit checking scheme. When used, all of the bits in a
  121.   data byte are added together. A final bit, called the parity bit, is added
  122.   such that the sum of all bits will be either odd or even (whichever you
  123.   specify). The transmitter calculates and transmits a parity bit. If it is
  124.   correct then it is assumed that the characters were received without error.
  125.   If not, then it is assumed that there was some sort of error during
  126.   transmission. Possible choices are determined by the remote system:
  127.  
  128.     ^hNone     ^nNo parity is added, default
  129.     ^hEven     ^nA parity bit is added such that the bit sum is always even
  130.     ^hOdd      ^nA parity bit is added such that the bit sum is always odd
  131.     ^hMark     ^nA parity bit of value one is always added
  132.     ^hSpace    ^nA parity bit of value zero is always added
  133.  
  134.  ^hPhonebook^n
  135.  
  136.   When this device is selected, then use this phonebook. This will only work
  137.   when starting up Terminate.
  138.  
  139.  ^hCostfile^n
  140.  
  141.   Which costfile to use when using this device.
  142.  
  143.  ^hReceive buffer size / Transmit buffer size^n
  144.  
  145.   Size of internal buffers used by Terminate. Only used with an interface
  146.   that is buffered, otherwise these buffers are ignored. Only the UART/Serial
  147.   interface is buffered. Do NOT change these values unless you are absolutely
  148.   sure that you know what you are doing!
  149.  
  150.  ^hSoftware flow control (Xon/Xoff)^n
  151.  
  152.   This option controls the automatic software flow control.
  153.   (Receive flow control - where Terminate tells the remote to stop
  154.   transmitting characters, and Transmit flow control - where Terminate
  155.   responds to the remote's request to stop transmitting characters as its
  156.   input buffer fills. Whenever the input buffer is more than 75% full, an
  157.   Xoff (#19) character is sent to the remote. It is up to the remote to
  158.   recognize the Xoff (#19) and cease sending data. When the input buffer
  159.   empties again to below 75% of buffer size, Terminate will send an Xon (#17)
  160.   character to the remote. It is then up to the remote to recognize this
  161.   character and resume sending data.)
  162.  
  163.  ^hHardware flow control (CTS/RTS)^n
  164.  
  165.   Hardware flow control is always preferred when available, because it is
  166.   faster and much safer. Hardware flow control works with lowering and
  167.   raising the modem lines. First you need to setup your modem to work with
  168.   CTS/RTS hardware flow control. CTS means Clear-To-Send and when using
  169.   hardware flow control the CTS line must be high (with the CTS light in
  170.   modem lit) before anything will be send to the modem. When the receive
  171.   buffer is more than 90% full the RTS (Request-To-Send) line will be set low
  172.   telling the modem not to send again until the buffer is less than 90% full.
  173.  
  174.  ^hHardware flow control (DSR/DTR)^n
  175.  
  176.   Some strange modems need DSR (Data-Set-Ready) instead of CTS and DTR
  177.   (Data-Terminal-Ready) or both options together, but it is not advised
  178.   to ever use this option unless you are sure you know what you are doing.
  179.   Data-Set-Ready is sometime refered as Modem-Ready (MR) on your modem.
  180.  
  181.  ^hUse 16550 fifo if available^n
  182.  
  183.   Tests whether a 16550A is available in the serial chip and, if it is, uses
  184.   its' FIFO buffer. Windows cannot use this by default.
  185.  
  186.  ^hKeep 16550 fifo on in shell^n
  187.  
  188.   When calling an external program or exiting Terminate, we normally disable
  189.   the FIFO buffer. Some utilities cannot detect the 16550A chip or do not
  190.   support the FIFO. The best thing is to disable (No) and let external
  191.   utilities detect for themselves.
  192.  
  193.  ^hRTS low while writing^n
  194.  
  195.   If you do not have a 16550A chip and have problems with errors, you can try
  196.   to set RTS low while writing. This means Terminate will stop receiving
  197.   while writing protocol blocks to the disk. This will slow down performance
  198.   a little, but is safer and could prevent hangups.
  199.  
  200.  ^hAuto RTS low trigger^n
  201.  
  202.   If you get more than X errors then the Auto RTS low function can be set to
  203.   go into progress, a good way of keeping up performance to a maximum and
  204.   only turn on RTS low when really needed.
  205.  
  206.  ^hCarrier detect mask^n
  207.  
  208.   When checking the modem status register this determines which bit should be
  209.   used for checking carrier detect. Normally bit 7 (128) is used and you
  210.   should only change this if you really know what you are doing.
  211.  
  212.  ^hInit string^n
  213.  
  214.   Select which init string you want to sent to the modem after changing
  215.   device and before dialing. This string is also sent to modem at startup 
  216.   if it is the current device.
  217.  
  218.  ^hRestore port on close^n
  219.  
  220.   After Terminate closes the port you can choose to restore the port as
  221.   it was before. But this means that you will get hung up if Terminal
  222.   ready was low at startup and you call any external program. You should
  223.   only turn this on if you really know what you are doing.
  224.  
  225.  ^hClose port in shell^n
  226.  
  227.   Normally there is no reason for closing the ports while shelling to
  228.   DOS. But some external protocols might need this. Closing the port
  229.   will save you a little in swap space, but if you are using fossil/ISDN
  230.   you might get hung up if you close the port.
  231.  
  232.  ^hConfigure comports^n
  233.  
  234.   ^m╒═════════╡^t Comport settings ^m╞╕
  235.   │^n        Address  Irq  Vector ^m│
  236.   ├──────┬──────────────────────┤
  237.   │ ^nCOM1 ^m│ ^h$03F8    04     0C   ^m│
  238.   │^r COM2 ^m│ ^h$02F8    03     0B   ^m│
  239.   │ ^nCOM3 ^m│ ^h$03E8    04     0C   ^m│
  240.   │ ^nCOM4 ^m│ ^h$02E8    03     0B   ^m│
  241.   │ ^nCOM5 ^m│ ^h$4220    03     0B   ^m│
  242.   │ ^nCOM6 ^m│ ^h$4228    03     0B   ^m│
  243.   │ ^nCOM7 ^m│ ^h$5220    03     0B   ^m│
  244.   │ ^nCOM8 ^m│ ^h$5228    03     0B   ^m│
  245.   ╘══════╧══════════════════════╛^n
  246.  
  247.   When using the UART/Serial interface, you can change the actual port IO
  248.   address, the hardware IRQ and the software interrupt.
  249.  
  250.   You should not need to change anything here, but if you do, you must
  251.   beware of potential hardware conflicts. Do not try to change the IRQ on
  252.   your internal modems or serial card without knowing exactly what you are
  253.   doing. If you have an internal modem and 2 external comports, you should 
  254.   always choose COM1 for the mouse and COM4 for the modem. If you choose COM3
  255.   you will conflict with IRQ4. Do not try changing the hardware jumpers/
  256.   switches without help and a manual for the modem. Before you change
  257.   anything on the modem, always make a note of the current jumper
  258.   settings so you always can go back. If your internal modem is capable of
  259.   using IRQ 5 or 7, please be aware that the modem could conflict
  260.   with other hardware, like netcards or SoundBlaster cards. If it does not
  261.   work at once with the internal modem, please seek professional help.
  262.   It is your hardware supplier that is responsible for ensuring the modem
  263.   works. Terminate uses only standard calls, so if the default settings do 
  264.   not work, contact your hardware supplier.
  265.   
  266.   Please always remember to turn off the power before doing anything.
  267.   The vector number is where to install the software interrupt, this
  268.   number should always be  IRQ + 8. IRQ>7 = IRQ+$68
  269.  
  270.     IRQ0 , Vector $08 ( 8)  Timer
  271.     IRQ1 , Vector $09 ( 9)  Keyboard
  272.     IRQ2 , Vector $0A (10)  Screen
  273.     IRQ3 , Vector $0B (11)  COM2,COM4
  274.     IRQ4 , Vector $0C (12)  COM1,COM3
  275.     IRQ5 , Vector $0D (13)  Free
  276.     IRQ6 , Vector $0E (14)  Floppy
  277.     IRQ7 , Vector $0F (15)  Free
  278.     IRQ8 , Vector $70 (112)
  279.     IRQ9 , Vector $71 (113)
  280.     IRQ10, Vector $72 (114)
  281.     IRQ11, Vector $73 (115)
  282.     IRQ12, Vector $74 (116)
  283.     IRQ13, Vector $75 (117)
  284.     IRQ14, Vector $76 (118)
  285.     IRQ15, Vector $77 (119)
  286.  
  287.   These are the defaults for normal machines. If you have an internal
  288.   modem that is capable of using IRQ 5 or 7, you should consider this.
  289.   If you try to use IRQ0, IRQ1 orIRQ6 you could get in serious trouble
  290.   and your machine could hang.
  291.  
  292.  ^hCheck IRQ^n
  293.  
  294.   ^m╒══════════════════════════════════════════════╡^t Check IRQ ^m╞╕
  295.   │ ^nFound   COM1, $03F8, testing...uses IRQ 4                 ^m│
  296.   │ ^nFound   COM2, $02F8, testing...uses IRQ 3                 ^m│
  297.   │ ^nFound   COM3, $03E8, testing...uses IRQ 4                 ^m│
  298.   │ ^nFound   COM4, $02E8, testing...uses IRQ 5                 ^m│
  299.   │ ^nNo chip COM5, $4220                                       ^m│
  300.   │ ^nNo chip COM6, $4228                                       ^m│
  301.   │ ^nNo chip COM7, $5220                                       ^m│
  302.   │ ^nNo chip COM8, $5228                                       ^m│
  303.   │                                                           ^m│
  304.   ╘═══════════════════════════════════════════════════════════╛^n
  305.  
  306.   This function trys to determine which hardware IRQ the comports are using.
  307.   Even if this routine fails to find the IRQ, it will work anyway, if you
  308.   specify the correct IRQ. Not all machines will show the correct IRQ.
  309.  
  310.  ^hSet default values^n
  311.  
  312.   Set all devices to the default parameters. If you make some kind of
  313.   mistake and cannot remember what you did wrong, you could use this
  314.   function.
  315.  
  316.